package com.luobd.bpm.config.security;

import com.luobd.bpm.common.CurrentRequestHolder;
import com.luobd.bpm.common.CurrentUserInfo;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Component;

@Component
public class SecurityUserDetailService implements UserDetailsService {
    @Override
    public UserDetails loadUserByUsername(String s) throws UsernameNotFoundException {
        CurrentUserInfo userInfo = CurrentRequestHolder.get();
        return null;
    }
}
